Object Oriented Design of a Transient Analysis Program
نویسنده
چکیده
This paper presents a design methodology of an electromagnetic transient analysis program based on an objectoriented approach. Two important features of the object oriented programming are (i) abstraction of data and their procedures using classes and (ii) derivation of a new class from an existing class using the concept of inheritance. In the proposed design methodology, first the base class, from which all kinds of circuit components are derived using inheritance, is defined. When a specific circuit component is derived from the base class, the parameters, the internal variables, and the behavior of the component are defined and described in the code defining the derived class. This means that each circuit component manages its data and knows how to initialize and update itself, that is, the circuit solver does not have to manage and know them. In this way, we can separately write the code of the circuit solver and that of circuit components, and thus, coding is simplified and code maintainability is enhanced. Especially, adding a new component does not require modifications in the circuit solver code. Using the proposed approach, a new transient analysis program named “XTAP” (eXpandable Transient Analysis Program) has been created. Some practical implementation issues are also presented in the paper.
منابع مشابه
On Attributes of Objects in Object-Oriented Software Analysis
One of the modern paradigms to develop a system is object oriented analysis and design. In this paradigm, there are several objects and each object plays some specific roles. There is a sequence of activities to develop an analysis model. In the first step, we work in developing an initial use case model. Then in the second step, they identify a number of concepts and build a glossary of partic...
متن کاملDeclarative Semantics in Object-Oriented Software Development - A Taxonomy and Survey
One of the modern paradigms to develop an application is object oriented analysis and design. In this paradigm, there are several objects and each object plays some specific roles in applications. In an application, we must distinguish between procedural semantics and declarative semantics for their implementation in a specific programming language. For the procedural semantics, we can write a ...
متن کاملObjects Identification in Object-Oriented Software Development - A Taxonomy and Survey on Techniques
Analysis and design of object oriented is onemodern paradigms for developing a system. In this paradigm, there are several objects and each object plays some specific roles. Identifying objects (and classes) is one of the most important steps in the object-oriented paradigm. This paper makes a literature review over techniques to identify objects and then presents six taxonomies for them. The f...
متن کاملModelsaz: An Object-Oriented Computer-Aided Modeling Environment
Modeling and simulation of processing plants are widely used in industry. Construction of a mathematical model for a plant is a time-consuming and error-prone task. In light of extensive advancements in computer science (both hardware and software), computers are becoming a necessary instrument in industrial activities. Many software tools for modeling, simulation and optimization of proces...
متن کاملObject-Oriented Method for Automatic Extraction of Road from High Resolution Satellite Images
As the information carried in a high spatial resolution image is not represented by single pixels but by meaningful image objects, which include the association of multiple pixels and their mutual relations, the object based method has become one of the most commonly used strategies for the processing of high resolution imagery. This processing comprises two fundamental and critical steps towar...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007